<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>工单列表查询条件</title>
</head>
<body>

    <!-- ----------------------------省市区---------------------------- -->
    <!-- 省份-多选 -->
    <th:block th:fragment="selectForProvinceIdList">
        <div id="provinceIdList"></div>
    </th:block>
    <!-- 城市-多选 -->
    <th:block th:fragment="selectForCityIdList">
        <div id="cityIdList"></div>
    </th:block>
    <!-- 区域-多选 -->
    <th:block th:fragment="selectForAreaIdList">
        <div id="countyIdList"></div>
    </th:block>

    <!-- ----------------------------公司、服务商---------------------------- -->
    <!-- 子公司-多选 -->
    <th:block th:fragment="selectForCompanyIdOrGridCompanyIdList">
        <div id="companyIdOrGridCompanyIdList"></div>
    </th:block>
    <!-- 执行子公司-多选 -->
    <th:block th:fragment="selectForCompanyIdList">
        <div id="companyIdList"></div>
    </th:block>
    <!-- 执行子公司-单选 -->
    <th:block th:fragment="selectForCompanyId">
        <div id="companyId"></div>
    </th:block>

    <!-- 服务商-单选 -->
    <th:block th:fragment="selectForManageCompanyIdOrGridManageCompanyId">
        <div id="manageCompanyIdOrGridManageCompanyId"></div>
    </th:block>
    <!-- 服务商-多选 -->
    <th:block th:fragment="selectForManageCompanyIdOrGridManageCompanyIdList">
        <div id="manageCompanyIdOrGridManageCompanyIdList"></div>
    </th:block>
    <!-- 执行服务商-多选 -->
    <th:block th:fragment="selectForManageCompanyIdList">
        <div id="manageCompanyIdList"></div>
    </th:block>
    <!-- 执行服务商-单选 -->
    <th:block th:fragment="selectForManageCompanyId">
        <div id="manageCompanyId"></div>
    </th:block>

    <!-- 行政子公司-多选 -->
    <th:block th:fragment="selectForGridCompanyIdList">
        <div id="gridCompanyIdList"></div>
    </th:block>
    <!-- 行政子公司-单选 -->
    <th:block th:fragment="selectForGridCompanyId">
        <div id="gridCompanyId"></div>
    </th:block>
    <!-- 行政服务商-多选 -->
    <th:block th:fragment="selectForGridManageCompanyIdList">
        <div id="gridManageCompanyIdList"></div>
    </th:block>
    <!-- 行政服务商-单选 -->
    <th:block th:fragment="selectForGridManageCompanyId">
        <div id="gridManageCompanyId"></div>
    </th:block>
    <!-- 厂商-多选 -->
    <th:block th:fragment="selectForFactoryIdList">
        <div id="factoryIdList"></div>
    </th:block>
    <!-- 厂商-单选 -->
    <th:block th:fragment="selectForFactoryId">
        <div id="factoryId"></div>
    </th:block>




    <!-- ----------------------------服务分类、产品等---------------------------- -->
    <!-- 服务分类-->
    <th:block th:fragment="selectForServCategId">
        <div id="servCategId"></div>
    </th:block>
    <!-- 前台一级分类-->
    <th:block th:fragment="selectForShowCategOneIdList">
        <div id="showCategOneIdList"></div>
    </th:block>
    <!-- 前台二级分类-->
    <th:block th:fragment="selectForShowCategTwoIdList">
        <div id="showCategTwoIdList"></div>
    </th:block>
    <!-- 前台产品 -->
    <th:block th:fragment="selectForShowProductIdList">
        <div id="showProductIdList"></div>
    </th:block>
    <!-- 后台一级分类-->
    <th:block th:fragment="selectForCategOneIdList">
        <div id="categOneIdList"></div>
    </th:block>
    <!-- 后台二级分类-->
    <th:block th:fragment="selectForCategTwoIdList">
        <div id="categTwoIdList"></div>
    </th:block>
    <!-- 后台产品 -->
    <th:block th:fragment="selectForProductIdList">
        <div id="productIdList"></div>
    </th:block>
    <!-- 产品分组 -->
    <th:block th:fragment="selectForServProductGroupIdList">
        <div id="servProductGroupIdList"></div>
    </th:block>


    <!-- ----------------------------渠道---------------------------- -->
    <!-- 渠道 -->
    <th:block th:fragment="selectForChannelTwoIdList">
        <div id="channelTwoIdList"></div>
    </th:block>
    <th:block th:fragment="selectForChannelIdList">
        <div id="channelIdList"></div>
    </th:block>

    <!-- 来源渠道 -->
    <th:block th:fragment="selectForSourceChannelTwoIdList">
        <div id="sourceChannelTwoIdList"></div>
    </th:block>
    <th:block th:fragment="selectForSourceChannelIdList">
        <div id="sourceChannelIdList"></div>
    </th:block>


    <!-- ----------------------------工程师---------------------------- -->
    <!-- 主工程师 -->
    <th:block th:fragment="selectForMasterId">
        <div id="masterId"></div>
    </th:block>
    <!-- 从工程师 -->
    <th:block th:fragment="selectForMultiMasterId">
        <div id="multiMasterId"></div>
    </th:block>
    <!-- 工程师主管 -->
    <th:block th:fragment="selectForSupervisorMasterId">
        <div id="masterSupervisorId"></div>
    </th:block>
    <!-- 多工程师 -->
    <th:block th:fragment="selectYesOrNoForMultiMaster">
        <div id="multiMaster"></div>
    </th:block>
    <!-- 责任工程师 -->
    <th:block th:fragment="selectForCancelLiableMasterId">
        <div id="cancelLiableMasterId"></div>
    </th:block>

    <!-- ----------------------------工单---------------------------- -->
    <!-- 1保外业务（C），2保内业务（F），3工程业务（B） -->
    <th:block th:fragment="selectForBizType">
        <div id="bizType"></div>
    </th:block>
    <!-- 工单结果 -->
    <th:block th:fragment="selectForWorkResultStatusList">
        <div id="workResultStatus"></div>
    </th:block>

    <!-- 工单状态-多选 -->
    <th:block th:fragment="selectForWorkStatusList">
        <div id="workStatusList"></div>
    </th:block>
    <!-- 工单类型 -->
    <th:block th:fragment="selectForWorkTypeList">
        <div id="workTypeList"></div>
    </th:block>

    <!-- 上门类型 -->
    <th:block th:fragment="selectForVisitTypeList">
        <div id="visitType"></div>
    </th:block>
    <!-- 上门状态 -->
    <th:block th:fragment="selectForVisitStatusList">
        <div id="visitStatus"></div>
    </th:block>


    <!-- 重复 -->
    <th:block th:fragment="selectForDuplicate">
        <div id="duplicate"></div>
    </th:block>

    <!-- 支付状态 -->
    <th:block th:fragment="selectForPayStatusList">
        <div id="payStatusList"></div>
    </th:block>

    <!-- 取消缘由多选下拉框 -->
    <th:block th:fragment="selectForCancelReasonList">
        <div id="failMapIdList"></div>
    </th:block>

    <!-- 工单结果(仅限取消Tab查询使用) com.zmn.oms.common.constant.OrderConsts.getOrderCancelResultStatusList -->
    <th:block th:fragment="selectForCancelWorkResultStatus">
        <div id="workCancelResultStatus"></div>
    </th:block>
    <th:block th:fragment="selectForWorkCancelResultStatusList">
        <div id="workCancelStatusList"></div>
    </th:block>

    <!-- 退款审核 -->
    <th:block th:fragment="selectForRefundWorkReviewStatusList">
        <div id="refundWorkReviewStatusList"></div>
    </th:block>
    <!-- 赔偿审核 -->
    <th:block th:fragment="selectForCompensateWorkReviewStatusList">
        <div id="compensateWorkReviewStatusList"></div>
    </th:block>

    <!-- 配件报销 -->
    <th:block th:fragment="selectForPartReimburseStatus">
        <div id="partReimburseStatus"></div>
    </th:block>


    <!-- 是否要客 -->
    <th:block th:fragment="selectForUserLevel">
        <div id="userLevel"></div>
    </th:block>

    <!-- 前后台产品类型 -->
<!--    <th:block th:fragment="selectForProductType">-->
<!--        <div id="productType"></div>-->
<!--    </th:block>-->

    <!-- ----------------------------其它---------------------------- -->
    <!-- 品牌 -->
    <th:block th:fragment="selectForBrandId">
        <div id="brandId"></div>
    </th:block>


    <!-- 快递状态 -->
    <th:block th:fragment="selectForOrderPostStatusList">
        <div id="orderPostStatusList"></div>
    </th:block>

    <!-- 前后台产品类型 -->
    <th:block th:fragment="selectForProductType">
        <select id="productType" lay-filter="select-productType">
            <option th:value="${T(com.zmn.common.constant.GlobalConsts).NO}" selected>前台产品</option>
            <option th:value="${T(com.zmn.common.constant.GlobalConsts).YES}">后台产品</option>
        </select>
    </th:block>

    <!-- 有效使用 -->
    <th:block th:fragment="selectForQuotationStatus">
        <select name="isQuotationValid">
            <option value="">全部</option>
            <option th:value="0">空</option>
            <option th:value="${T(com.zmn.common.constant.GlobalConsts).YES}">有效</option>
            <option th:value="${T(com.zmn.common.constant.GlobalConsts).NO}">无效</option>
        </select>
    </th:block>


    <!-- 参与报价人类型 -->
    <th:block th:fragment="selectForPartakeQuotationTypeList">
        <div id="partakeQuotationTypeList"></div>
    </th:block>

    <!-- 退款方式类型 -->
    <th:block th:fragment="selectForRefundType">
        <div id="refundType"></div>
    </th:block>

    <!-- 最终报价人类型 -->
    <th:block th:fragment="selectForQuotationType">
        <div id="quotationType"></div>
    </th:block>

    <!-- 取消人类型 -->
    <th:block th:fragment="selectForCancelerTypeList">
        <div id="cancelerTypeList"></div>
    </th:block>

    <!-- 取消人 -->
    <th:block th:fragment="selectForCancelerId">
        <div id="cancelerId"></div>
    </th:block>

    <!-- 操作员 -->
    <th:block th:fragment="selectForOperatorId">
        <div id="operate_operatorId"></div>
    </th:block>
    <!-- 订单操作类型操作员 -->
    <th:block th:fragment="selectForWorkOperateType">
        <div id="operate_operateType"></div>
    </th:block>






    <!-- ----------------------------直接引用---------------------------- -->

    <!-- 优惠类型 -->
    <th:block th:fragment="selectForDiscountCateg">
        <select name="discount.discountCateg" lay-search>
            <option value="">全部</option>
            <option th:each="item:${T(com.zmn.oms.common.constant.DiscountConsts).getDiscountCategList()}"
                    th:value="${item.key}"
                    th:text="${item.value}">
        </select>
    </th:block>
    <!-- 优惠方式 -->
    <th:block th:fragment="selectForDiscountType">
        <select name="discount.discountType">
            <option value="">全部</option>
            <option th:each="item:${T(com.zmn.oms.common.constant.OrderConsts).getDiscountTypeList()}"
                    th:value="${item.key}"
                    th:text="${item.value}">
        </select>
    </th:block>

    <!-- 价格类型 -->
    <th:block th:fragment="selectForServItemType">
        <select name="servItemType">
            <option value="">全部</option>
            <option th:each="item:${T(com.zmn.oms.common.constant.OrderConsts).getServiceItemTypesList()}"
                    th:value="${item.key}"
                    th:text="${item.value}">
        </select>
    </th:block>

    <!-- 分配类型 -->
    <th:block th:fragment="selectForGrabType">
        <select name="grabType">
            <option value="">全部</option>
            <option th:each="item:${T(com.zmn.oms.common.constant.OrderConsts).getGrabTypeList()}"
                    th:value="${item.key}"
                    th:text="${item.value}">
        </select>
    </th:block>
    <!-- 派单模式 -->
    <th:block th:fragment="selectForDistributeWay">
        <select name="distributeWay">
            <option value="">全部</option>
            <option th:each="item:${T(com.zmn.oms.common.constant.OrderDistributeConsts).getDistributeWayList()}"
                    th:value="${item.key}"
                    th:text="${item.value}">
        </select>
    </th:block>

    <!-- 是否预约失败 -->
    <th:block th:fragment="selectForDutyFail">
        <select name="isDutyFail" lay-filter="isDutyFail">
            <option value="">全部</option>
            <option th:value="${T(com.zmn.common.constant.GlobalConsts).YES}">是</option>
            <option th:value="${T(com.zmn.common.constant.GlobalConsts).NO}">否</option>
        </select>
    </th:block>

    <!-- 是否稍后报销 -->
    <th:block th:fragment="selectForPartRetain">
        <select name="partRetain" lay-filter="partRetain">
            <option value="">全部</option>
            <option th:value="${T(com.zmn.common.constant.GlobalConsts).YES}">是</option>
            <option th:value="${T(com.zmn.common.constant.GlobalConsts).NO}">否</option>
        </select>
    </th:block>

    <!-- 工单分润 -->
    <th:block th:fragment="selectForShareRate">
        <select name="shareRate" lay-filter="shareRate">
            <option value="">全部</option>
            <option th:value="${T(com.zmn.common.constant.GlobalConsts).YES}">已设置</option>
            <option th:value="${T(com.zmn.common.constant.GlobalConsts).NO}">未设置</option>
        </select>
    </th:block>

    <!-- 工单分润 -->
    <th:block th:fragment="selectForOrderPartReview">
        <select name="orderPartReview" lay-filter="orderPartReview">
            <option value="">全部</option>
            <option th:value="${T(com.zmn.common.constant.GlobalConsts).YES}">已审核</option>
            <option th:value="${T(com.zmn.common.constant.GlobalConsts).NO}">未审核</option>
        </select>
    </th:block>

    <!-- 预约失败原因 -->
    <th:block th:fragment="selectForDutyFailList">
        <select name="dutyFailReasonCode" id="dutyFailReasonCode" disabled>
            <option value="">全部</option>
            <option th:each="item:${T(com.zmn.oms.common.constant.OrderDutyConsts).getDutyFailReasonList()}"
                    th:value="${item.key}"
                    th:text="${item.value}">
        </select>
    </th:block>
    <!-- 是否挂起 -->
    <th:block th:fragment="selectForDutySuspend">
        <select name="isDutySuspend" lay-filter="isDutySuspend">
            <option value="">全部</option>
            <option th:value="${T(com.zmn.common.constant.GlobalConsts).YES}">是</option>
            <option th:value="${T(com.zmn.common.constant.GlobalConsts).NO}">否</option>
        </select>
    </th:block>

    <!-- 挂起原因 -->
    <th:block th:fragment="selectForDutySuspendList">
        <select name="dutySuspendReasonCode" id="dutySuspendReasonCode" disabled>
            <option value="">全部</option>
            <option th:each="item:${T(com.zmn.oms.common.constant.OrderDutyConsts).getDutySuspendReasonList()}"
                    th:value="${item.key}"
                    th:text="${item.value}">
        </select>
    </th:block>

    <!-- 下单平台下拉框 -->
    <div th:fragment="selectForPlatType">
        <select id="select-plat" name="plat" lay-search>
            <option value="">全部</option>
            <option th:each="item:${T(com.zmn.common.constant.GlobalConsts).getPlatList()}"
                    th:value="${item.key}"
                    th:text="${item.value}">
            </option>
        </select>
    </div>

    <!-- 服务平台下拉框 -->
    <th:block th:fragment="selectForPlatWorkType">
        <select id="select-plat-work" name="platWork" lay-search>
            <option value="">全部</option>
            <option th:each="item:${T(com.zmn.common.constant.GlobalConsts).getPlatList()}"
                    th:value="${item.key}"
                    th:text="${item.value}">
            </option>
        </select>
    </th:block>
    <!-- 下单合同 -->
    <th:block th:fragment="selectForBizModeSource">
        <select name="bizModeSource">
            <option value="">全部</option>
            <option th:each="item : ${T(com.zmn.oms.common.constant.OrderConsts).getBizModeList()}"
                    th:value="${item.key}" th:text="${item.value}"></option>
        </select>
    </th:block>


    <!-- 发票 -->
    <th:block th:fragment="selectForHasInvoice">
        <select name="hasInvoice">
            <option value="">全部</option>
            <option th:value="${T(com.zmn.common.constant.GlobalConsts).NO}">未开发票</option>
            <option th:value="${T(com.zmn.common.constant.GlobalConsts).YES}">已开发票</option>
        </select>
    </th:block>

    <!-- 定金 -->
    <th:block th:fragment="selectForHasDeposit">
        <select name="hasDeposit">
            <option value="">全部</option>
            <option th:value="${T(com.zmn.common.constant.GlobalConsts).NO}">无定金</option>
            <option th:value="${T(com.zmn.common.constant.GlobalConsts).YES}">有定金</option>
        </select>
    </th:block>

    <!-- 预收款 -->
    <th:block th:fragment="selectForHasPrepayAmount">
        <select name="hasPrepayAmount">
            <option value="">全部</option>
            <option th:value="${T(com.zmn.common.constant.GlobalConsts).NO}">无预付款</option>
            <option th:value="${T(com.zmn.common.constant.GlobalConsts).YES}">有预付款</option>
        </select>
    </th:block>


    <!-- ----------------------------普通输入框---------------------------- -->
    <div>
        <!-- 用户电话 --> <!-- 工单电话 -->
        <th:block th:fragment="inputForConcatPhone">
            <input class="layui-input concat-phone" type="text" id="concatPhone" name="concatPhone" placeholder="联系电话支持后四位查询" autocomplete="off">
            <input class="layui-input crypto-phone layui-hide" type="text" name="cryptoPhone">
        </th:block>

        <!-- 用户电话 带默认值 --> <!-- 工单电话 -->
        <th:block th:fragment="inputForDefaultConcatPhone">
            <input class="layui-input concat-phone" th:value="${query.concatPhone}" type="text" name="concatPhone" placeholder="联系电话支持后四位查询" autocomplete="off">
            <input class="layui-input crypto-phone layui-hide" type="text" name="cryptoPhone">
        </th:block>

        <th:block th:fragment="inputForConcatBindPhone">
            <input class="layui-input" type="text" name="bindPhone" placeholder="小号电话支持后四位查询" autocomplete="off">
        </th:block>

        <!-- 客户姓名 -->
        <th:block th:fragment="inputForConcatUserName">
            <input class="layui-input" type="text" name="concatUserName" autocomplete="off">
        </th:block>

        <!-- 详细地址 -->
        <th:block th:fragment="inputForoncatAddress">
            <input class="layui-input" type="text" name="concatAddress" placeholder="支持模糊查询" autocomplete="off">
        </th:block>

        <!-- 故障信息 -->
        <th:block th:fragment="inputForaultContent">
            <input class="layui-input" type="text" name="faultContent" autocomplete="off">
        </th:block>

        <!-- 工单号 -->
        <th:block th:fragment="inputForCode">
            <input class="layui-input" type="number" name="code" maxlength="19" placeholder="支持后六位查询"
                   autocomplete="off">
        </th:block>

        <!-- 工单号 带默认值-->
        <th:block th:fragment="inputForDefaultCode">
            <input class="layui-input" type="number" th:value="${query.orderId}" name="code" maxlength="19"
                   placeholder="支持后六位查询" autocomplete="off">
        </th:block>

        <!-- 源单号 -->
        <div th:fragment="inputForOriginalId">
            <input class="layui-input" type="number" name="originalId" autocomplete="off">
        </div>

        <!-- 电子保单 -->
        <th:block th:fragment="inputForWarrantyCode">
            <input class="layui-input" type="text" name="warrantyCode" autocomplete="off">
        </th:block>

        <!-- 优惠券号码 -->
        <th:block th:fragment="inputForCouponCode">
            <input class="layui-input" type="text" name="couponCode" autocomplete="off">
        </th:block>

        <!-- 渠道单号 -->
        <th:block th:fragment="inputForOuterId">
            <input class="layui-input" type="text" name="outerId" autocomplete="off">
        </th:block>

        <!-- 渠道查询 -->
        <th:block th:fragment="inputForChannel">
            <input id="channelIdListOfInput" class="layui-input" type="text" name="channelIdListOfInput"
                   autocomplete="on" placeholder="请粘贴需要查询的渠道id，用逗号分隔" lay-verify="channelListStr">
        </th:block>

        <!-- 商家流水号查询 -->
        <th:block th:fragment="inputForPayOutTradeNo">
            <input id="payOutTradeNo" class="layui-input" type="text" name="payOutTradeNo" autocomplete="off">
        </th:block>

        <!-- 渠道查询 -->
        <th:block th:fragment="inputForTotalAmountRange">
            <div class="layui-input-inline">
                <input type="number" name="totalAmountRangeMin" placeholder="￥" autocomplete="off" class="layui-input">
            </div>
            <div class="layui-form-mid">-</div>
            <div class="layui-input-inline">
                <input type="number" name="totalAmountRangeMax" placeholder="￥" autocomplete="off" class="layui-input">
            </div>
        </th:block>


        <!-- 快递单号 -->
        <th:block th:fragment="inputForExpressCode">
            <input class="layui-input" type="text" name="orderPostExpressCode" autocomplete="off">
        </th:block>


    </div>

    <!-- 普通下拉框 -->
    <div>


        <!-- 评价方式 -->
        <th:block th:fragment="selectForCommentType">
            <select name="commentType">
                <option value="">全部</option>
                <option th:each="item : ${commentTypeList}" th:value="${item.key}" th:text="${item.value}"></option>
            </select>
        </th:block>


        <!-- 会员权益 -->
        <th:block th:fragment="selectForEquityType">
            <select name="equityType">
                <option value="">全部</option>
                <option th:each="item : ${memberEqutityList}" th:value="${item.key}" th:text="${item.value}"></option>
            </select>
        </th:block>

        <!-- 评星 -->
        <div th:fragment="selectForCommentScore">
            <select name="commentScore">
                <option value="">全部</option>
                <option th:each="item : ${scoreList}" th:value="${item.key}" th:text="${item.value}"></option>
            </select>
        </div>


        <!-- 配件类型下拉框 -->
        <th:block th:fragment="selectForPartType">
            <select id="select-part-type" name="partType" lay-search>
                <option value="">全部</option>
                <option th:each="item : ${partTypeList}" th:value="${item.key}" th:text="${item.value}"></option>
            </select>
        </th:block>


        <!-- 厂商下拉框 -->
        <th:block th:fragment="selectForFactory">
            <select id="select-factory" name="factoryId" lay-search>
                <option value="">全部</option>
                <option th:each="item : ${factoryList}" th:value="${item.value}" th:text="${item.text}"></option>
            </select>
        </th:block>

        <!-- 服务商下拉框 -->
        <th:block th:fragment="selectForServiceProvider">
            <select id="select-service-provider" name="companyId" lay-search>
                <option value="">全部</option>
                <option th:each="item : ${serviceProviderList}" th:value="${item.value}" th:text="${item.text}"></option>
            </select>
        </th:block>


    </div>

    <!--  是否下拉框  -->
    <div>

        <!-- 是否 -->
        <th:block th:fragment="selectForYesOrNo(filedName)">
            <select th:name="|${filedName}|">
                <option value="">全部</option>
                <option th:value="${T(com.zmn.common.constant.GlobalConsts).NO}">否</option>
                <option th:value="${T(com.zmn.common.constant.GlobalConsts).YES}">是</option>
            </select>
        </th:block>


        <!-- 会员工单 -->
        <th:block th:fragment="selectFoSourceType">
            <select name="member">
                <option value="" selected>全部</option>
                <option th:value="${T(com.zmn.common.constant.GlobalConsts).NO}">否</option>
                <option th:value="${T(com.zmn.common.constant.GlobalConsts).YES}">是</option>
            </select>
        </th:block>

        <!-- 回访 -->
        <th:block th:fragment="selectForReplyVisited">
            <select name="replyVisited">
                <option value="">全部</option>
                <option th:value="${T(com.zmn.common.constant.GlobalConsts).NO}">未回访</option>
                <option th:value="${T(com.zmn.common.constant.GlobalConsts).YES}">已回访</option>
            </select>
        </th:block>

        <!-- 投诉 -->
        <th:block th:fragment="selectForComplaintStatus">
            <select name="complaintStatus">
                <option value="">全部</option>
                <option th:value="${T(com.zmn.common.constant.GlobalConsts).NO}">无投诉</option>
                <option th:value="${T(com.zmn.common.constant.GlobalConsts).YES}">有投诉</option>
            </select>
        </th:block>


        <!-- 追评 -->
        <th:block th:fragment="selectForAppendComment">
            <select name="append">
                <option value="">全部</option>
                <option th:value="${T(com.zmn.common.constant.GlobalConsts).NO}">否</option>
                <option th:value="${T(com.zmn.common.constant.GlobalConsts).YES}">是</option>
            </select>
        </th:block>

        <!-- 售卖 -->
        <th:block th:fragment="selectForPurposeSale">
            <select name="saleStatus">
                <option value="">全部</option>
                <option th:value="${T(com.zmn.common.constant.GlobalConsts).NO}">否</option>
                <option th:value="${T(com.zmn.common.constant.GlobalConsts).YES}">是</option>
            </select>
        </th:block>

        <!-- 店铺类型 -->
        <th:block th:fragment="selectForShopType">
            <select id="select-shopType" name="shopType">
                <option value="">全部</option>
                <option th:value="${T(com.zmn.common.constant.GlobalConsts).NO}">服务商店铺</option>
                <option th:value="${T(com.zmn.common.constant.GlobalConsts).YES}">平台店铺</option>
            </select>
        </th:block>

        <!-- 是否测试单 -->
        <th:block th:fragment="selectForTest">
            <select id="select-test" name="test" lay-filter="select-test" >
                <option value="">全部</option>
                <option th:value="${T(com.zmn.common.constant.GlobalConsts).NO}">否</option>
                <option th:value="${T(com.zmn.common.constant.GlobalConsts).YES}">是</option>
            </select>
        </th:block>

        <!-- 配件是否存在下拉框 -->
        <th:block th:fragment="modifyType" >
            <select id="select-modify-type" name="modifyType" lay-search>
                <option value="">全部</option>
                <option th:value="${T(com.zmn.common.constant.GlobalConsts).YES}">改派</option>
                <option th:value="${T(com.zmn.common.constant.GlobalConsts).NO}">改约</option>
            </select>
        </th:block>
    </div>

    <!-- 远程单选搜索下拉框 -->
    <!-- 执行服务商 -->
    <div th:fragment="remoteSelectForServiceProvider">
        <select id="select-service-provider-remote" name="manageCompanyId" lay-ignore style="width: 100%;">
            <option value="">请选择</option>
        </select>
    </div>

    <!-- 时间选择框 -->
    <div>
        <!-- 定制时间选择器 -->
        <th:block th:fragment="timePicker(name, filed, display, sTime, eTime)">
            <div class="layui-form-item date-picker-item" th:classappend="${display} ? 'inline-block'">
                <div class="layui-inline">
                    <label class="layui-form-label" th:text="|${name}：|"></label>
                    <div class="layui-input-inline">
                        <input class="layui-input" th:id="|${filed}Start|" th:value="${sTime}" type="text" th:name="|${filed}.start|" autocomplete="off">
                    </div>
                    <label class="layui-form-label label-center">至</label>
                    <div class="layui-input-inline">
                        <input class="layui-input" th:id="|${filed}End|" th:value="${eTime}" type="text" th:name="|${filed}.end|" autocomplete="off">
                    </div>
                </div>
            </div>
        </th:block>

        <!-- 定制时间选择器 -->
        <th:block th:fragment="timePickerMin(name, filed, display, sTime, eTime, minTime)">
            <div class="layui-form-item date-picker-item" th:classappend="${display} ? 'inline-block'">
                <div class="layui-inline">
                    <label class="layui-form-label" th:text="|${name}：|"></label>
                    <div class="layui-input-inline">
                        <input class="layui-input" th:id="|${filed}Start|" th:value="${sTime}" type="text" th:name="|${filed}.start|" data-th-data-min="${minTime}" autocomplete="off">
                    </div>
                    <label class="layui-form-label label-center">至</label>
                    <div class="layui-input-inline">
                        <input class="layui-input" th:id="|${filed}End|" th:value="${eTime}" type="text" th:name="|${filed}.end|" data-th-data-min="${minTime}" autocomplete="off">
                    </div>
                </div>
            </div>
        </th:block>

        <th:block th:fragment="timePickerMinNoItem(name, filed, display, sTime, eTime, minTime)">
            <div class="layui-inline" th:classappend="${display} ? 'inline-block'">
                <label class="layui-form-label" th:text="|${name}：|"></label>
                <div class="layui-input-inline">
                    <input class="layui-input" th:id="|${filed}Start|" th:value="${sTime}" type="text" th:name="|${filed}.start|" data-th-data-min="${minTime}" autocomplete="off">
                </div>
                <label class="layui-form-label label-center">至</label>
                <div class="layui-input-inline">
                    <input class="layui-input" th:id="|${filed}End|" th:value="${eTime}" type="text" th:name="|${filed}.end|" data-th-data-min="${minTime}" autocomplete="off">
                </div>
            </div>
        </th:block>

        <!-- 下单时间 -->
        <th:block th:fragment="receiveTimeContent">
            <label class="layui-form-label">下单时间：</label>
            <div class="layui-input-inline">
                <input class="layui-input" id="receiveTimeStart" type="text" th:value="${receiveTimeStart}" name="receiveTime.start" autocomplete="off">
            </div>
            <label class="layui-form-label label-center">至</label>
            <div class="layui-input-inline">
                <input class="layui-input" id="receiveTimeEnd" type="text" th:value="${receiveTimeEnd}" name="receiveTime.end" autocomplete="off">
            </div>
        </th:block>

        <!-- 下单时间 -->
        <th:block th:fragment="receiveTime(checked)">
            <div class="layui-inline date-picker-item" th:classappend="${checked} ? 'inline-block'">
                <label class="layui-form-label">下单时间：</label>
                <div class="layui-input-inline">
                    <input class="layui-input" id="receiveTimeStart" type="text" th:value="${receiveTimeStart}" name="receiveTime.start" autocomplete="off">
                </div>
                <label class="layui-form-label label-center">至</label>
                <div class="layui-input-inline">
                    <input class="layui-input" id="receiveTimeEnd" type="text" th:value="${receiveTimeEnd}" name="receiveTime.end" autocomplete="off">
                </div>
            </div>
        </th:block>

        <!-- 预约时间 -->
        <th:block th:fragment="dutyTime(checked)">
            <div class="layui-inline date-picker-item" th:classappend="${checked} ? 'inline-block'">
                <label class="layui-form-label">预约时间：</label>
                <div class="layui-input-inline">
                    <input class="layui-input" id="dutyTimeStart" type="text" name="dutyTime.start" th:value="${startTime}" data-th-data-min="${minTime}" autocomplete="off">
                </div>
                <label class="layui-form-label label-center">至</label>
                <div class="layui-input-inline">
                    <input class="layui-input" id="dutyTimeEnd" type="text" name="dutyTime.end" th:value="${endTime}" data-th-data-min="${minTime}" autocomplete="off">
                </div>
            </div>
        </th:block>

        <!-- 派单时间 -->
        <th:block th:fragment="distributeTime">
            <div class="layui-inline date-picker-item">
                <label class="layui-form-label">派单时间：</label>
                <div class="layui-input-inline">
                    <input class="layui-input" id="distributeTimeStart" type="text" name="distributeTime.start" th:value="${startTime}" data-th-data-min="${minTime}" autocomplete="off">
                </div>
                <label class="layui-form-label label-center">至</label>
                <div class="layui-input-inline">
                    <input class="layui-input" id="distributeTimeEnd" type="text" name="distributeTime.end" th:value="${endTime}" data-th-data-min="${minTime}" autocomplete="off">
                </div>
            </div>
        </th:block>

        <!-- 上门时间 -->
        <th:block th:fragment="visitTime">
            <div class="layui-inline date-picker-item">
                <label class="layui-form-label">上门时间：</label>
                <div class="layui-input-inline">
                    <input class="layui-input" id="visitTimeStart" type="text" name="visitTime.start" autocomplete="off">
                </div>
                <label class="layui-form-label label-center">至</label>
                <div class="layui-input-inline">
                    <input class="layui-input" id="visitTimeEnd" type="text" name="visitTime.end" autocomplete="off">
                </div>
            </div>
        </th:block>

        <!-- 完成时间 -->
        <th:block th:fragment="completeTime">
            <div class="layui-inline date-picker-item">
                <label class="layui-form-label">完成时间：</label>
                <div class="layui-input-inline">
                    <input class="layui-input" id="completeTimeStart" type="text" name="completeTime.start" autocomplete="off">
                </div>
                <label class="layui-form-label label-center">至</label>
                <div class="layui-input-inline">
                    <input class="layui-input" id="completeTimeEnd" type="text" name="completeTime.end" autocomplete="off">
                </div>
            </div>
        </th:block>

        <!-- 收单时间 -->
        <th:block th:fragment="checkoutTime">
            <div class="layui-inline date-picker-item">
                <label class="layui-form-label">收单时间：</label>
                <div class="layui-input-inline">
                    <input class="layui-input" id="checkoutTimeStart" type="text" name="checkoutTime.start" autocomplete="off">
                </div>
                <label class="layui-form-label label-center">至</label>
                <div class="layui-input-inline">
                    <input class="layui-input" id="checkoutTimeEnd" type="text" name="checkoutTime.end" autocomplete="off">
                </div>
            </div>
        </th:block>

        <!-- 算账时间 -->
        <th:block th:fragment="accountTime(checked)">
            <div class="layui-inline date-picker-item" th:classappend="${checked} ? 'inline-block'">
                <label class="layui-form-label">算账时间：</label>
                <div class="layui-input-inline">
                    <input class="layui-input" id="accountTimeStart" type="text" name="accountTime.start" th:value="${startTime}" autocomplete="off">
                </div>
                <label class="layui-form-label label-center">至</label>
                <div class="layui-input-inline">
                    <input class="layui-input" id="accountTimeEnd" type="text" name="accountTime.end" th:value="${startTime}" autocomplete="off">
                </div>
            </div>
        </th:block>

        <!-- 评价时间 -->
        <th:block th:fragment="commentTime(checked)">
            <div class="layui-inline date-picker-item" th:classappend="${checked} ? 'inline-block'">
                <label class="layui-form-label">评价时间：</label>
                <div class="layui-input-inline">
                    <input class="layui-input" id="commentTimeStart" type="text" name="commentTime.start" autocomplete="off"
                            th:value="${commentTimeStart}">
                </div>
                <label class="layui-form-label label-center">至</label>
                <div class="layui-input-inline">
                    <input class="layui-input" id="commentTimeEnd" type="text" name="commentTime.end" autocomplete="off"
                           th:value="${commentTimeEnd}">
                </div>
            </div>
        </th:block>

        <!-- 配件报销 -->
        <th:block th:fragment="partReimburseTime">
            <div class="layui-inline date-picker-item" >
                <label class="layui-form-label">配件报销：</label>
                <div class="layui-input-inline">
                    <input class="layui-input" id="partReimburseTimeStart" type="text" th:value="${startTime}" name="partReimburseTime.start" autocomplete="off">
                </div>
                <label class="layui-form-label label-center">至</label>
                <div class="layui-input-inline" >
                    <input class="layui-input" id="partReimburseTimeEnd" type="text" th:value="${endTime}" name="partReimburseTime.end" autocomplete="off">
                </div>
            </div>
        </th:block>

        <!-- 退款时间 -->
        <th:block th:fragment="refundAmountTime">
            <div class="layui-inline date-picker-item">
                <label class="layui-form-label">退款时间：</label>
                <div class="layui-input-inline">
                    <input class="layui-input" id="refundAmountTimeStart" type="text" name="refundAmountTime.start" autocomplete="off">
                </div>
                <label class="layui-form-label label-center">至</label>
                <div class="layui-input-inline">
                    <input class="layui-input" id="refundAmountTimeEnd" type="text" name="refundAmountTime.end" autocomplete="off">
                </div>
            </div>
        </th:block>

        <th:block th:fragment="cancelTimeContent">
            <label class="layui-form-label">取消时间：</label>
            <div class="layui-input-inline">
                <input class="layui-input" id="cancelTimeStart" type="text" name="cancelTime.start" autocomplete="off">
            </div>
            <label class="layui-form-label label-center">至</label>
            <div class="layui-input-inline">
                <input class="layui-input" id="cancelTimeEnd" type="text" name="cancelTime.end" autocomplete="off">
            </div>
        </th:block>

        <!-- 取消时间 -->
        <th:block th:fragment="cancelTime(checked)">
            <div class="layui-inline date-picker-item" th:classappend="${checked} ? 'inline-block'">
                <th:block th:replace=" :: cancelTimeContent"/>
            </div>
        </th:block>

        <!-- 联系时间 -->
        <th:block th:fragment="nextContactTime(checked)">
            <div class="layui-inline date-picker-item" th:classappend="${checked} ? 'inline-block'">
                <label class="layui-form-label" style="margin-left: -40px;width: 120px;">下次联系时间：</label>
                <div class="layui-input-inline">
                    <input class="layui-input" id="nextContactTimeStart" type="text" name="nextContactTime.start" autocomplete="off">
                </div>
                <label class="layui-form-label label-center">至</label>
                <div class="layui-input-inline">
                    <input class="layui-input" id="nextContactTimeEnd" type="text" name="nextContactTime.end" autocomplete="off">
                </div>
            </div>
        </th:block>

        <!-- 联系时间 -->
        <th:block th:fragment="nextContactTimeShow">
            <div class="layui-inline date-picker-item inline-block" style="display: contents">
                <label class="layui-form-label" style="margin-left: -40px;width: 120px;">下次联系时间：</label>
                <div class="layui-input-inline">
                    <input class="layui-input" id="nextContactTimeStart" type="text" name="nextContactTime.start" autocomplete="off">
                </div>
                <label class="layui-form-label label-center">至</label>
                <div class="layui-input-inline">
                    <input class="layui-input" id="nextContactTimeEnd" type="text" name="nextContactTime.end" autocomplete="off">
                </div>
            </div>
        </th:block>

        <!-- 签到时间 用于天猫订单-->
        <th:block th:fragment="signInTime">
            <div class="layui-inline date-picker-item">
                <label class="layui-form-label">签到时间：</label>
                <div class="layui-input-inline">
                    <input class="layui-input" id="signInTimeStart" type="text" name="signInTime.start" autocomplete="off">
                </div>
                <label class="layui-form-label label-center">至</label>
                <div class="layui-input-inline">
                    <input class="layui-input" id="signInTimeEnd" type="text" name="signInTime.end" autocomplete="off">
                </div>
            </div>
        </th:block>

        <!-- 核销时间 用于天猫订单-->
        <th:block th:fragment="verificationTime">
            <div class="layui-inline date-picker-item">
                <label class="layui-form-label">核销时间：</label>
                <div class="layui-input-inline">
                    <input class="layui-input" id="verificationTimeStart" type="text" name="verificationTime.start" autocomplete="off">
                </div>
                <label class="layui-form-label label-center">至</label>
                <div class="layui-input-inline">
                    <input class="layui-input" id="verificationTimeEnd" type="text" name="verificationTime.end" autocomplete="off">
                </div>
            </div>
        </th:block>

        <!-- 签收时间 用于天猫订单-->
        <th:block th:fragment="signForTime">
            <div class="layui-inline date-picker-item">
                <label class="layui-form-label">签收时间：</label>
                <div class="layui-input-inline">
                    <input class="layui-input" id="signForTimeStart" type="text" name="signForTime.start" autocomplete="off">
                </div>
                <label class="layui-form-label label-center">至</label>
                <div class="layui-input-inline">
                    <input class="layui-input" id="signForTimeEnd" type="text" name="signForTime.end" autocomplete="off">
                </div>
            </div>
        </th:block>

        <!-- 渠道可结算时间-->
        <th:block th:fragment="channelStatementCanTime">
            <div class="layui-inline date-picker-item">
                <label class="layui-form-label">可结算时间：</label>
                <div class="layui-input-inline">
                    <input class="layui-input" id="channelStatementCanTimeStart" type="text" name="channelStatementCanTime.start" autocomplete="off">
                </div>
                <label class="layui-form-label label-center">至</label>
                <div class="layui-input-inline">
                    <input class="layui-input" id="channelStatementCanTimeEnd" type="text" name="channelStatementCanTime.end" autocomplete="off">
                </div>
            </div>
        </th:block>

        <!-- 工程师审核 -->
        <th:block th:fragment="masterReviewTime">
            <div class="layui-inline date-picker-item">
                <label class="layui-form-label">工程师审核：</label>
                <div class="layui-input-inline">
                    <input class="layui-input" id="masterReviewTimeStart" type="text" name="masterReviewTime.start" autocomplete="off">
                </div>
                <label class="layui-form-label label-center">至</label>
                <div class="layui-input-inline">
                    <input class="layui-input" id="masterReviewTimeEnd" type="text" name="masterReviewTime.end" autocomplete="off">
                </div>
            </div>
        </th:block>

        <!-- 后台审核 -->
        <th:block th:fragment="platReviewTime">
            <div class="layui-inline date-picker-item">
                <label class="layui-form-label">后台审核：</label>
                <div class="layui-input-inline">
                    <input class="layui-input" id="platReviewTimeStart" type="text" name="platReviewTime.start" autocomplete="off">
                </div>
                <label class="layui-form-label label-center">至</label>
                <div class="layui-input-inline">
                    <input class="layui-input" id="platReviewTimeEnd" type="text" name="platReviewTime.end" autocomplete="off">
                </div>
            </div>
        </th:block>


    </div>

    <!-- 按钮 -->
    <div>
        <!-- 搜索 -->
        <th:block th:fragment="buttonForSearch">
            <button class="layui-btn layuiadmin-btn-admin" lay-submit lay-filter="submit-search">
                <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>
            </button>
        </th:block>
        <!-- 重置 -->
        <th:block th:fragment="buttonForReset">
            <button type="reset" class="layui-btn layui-btn-primary">
                <i class="layui-icon layui-icon-refresh layuiadmin-button-btn"></i>
            </button>
        </th:block>
        <!-- 重置 -->
        <th:block th:fragment="buttonForClean">
            <button type="reset" class="layui-btn layui-btn-primary" lay-filter="submit-reset" lay-submit>
                <i class="layui-icon layui-icon-refresh layuiadmin-button-btn"></i>
            </button>
        </th:block>
        <!-- 导出 -->
        <th:block th:fragment="buttonForExport">
            <button type="button" id="submit-export" class="layui-btn layui-btn-primary" lay-submit lay-filter="submit-export" title="至多导出 5000 条">
                <i class="layui-icon layui-icon-export layuiadmin-button-btn"></i>
            </button>
        </th:block>
        <!-- 更多 -->
        <th:block th:fragment="buttonForUp">
            <button type="button" class="layui-btn layui-btn-primary" id="more-up" title="更多条件">
                <i class="layui-icon layui-icon-down layuiadmin-button-btn"></i>
            </button>
        </th:block>
        <th:block th:fragment="buttonForDown">
            <button type="button" class="layui-btn layui-btn-primary" id="more-down">
                <i class="layui-icon layui-icon-up layuiadmin-button-btn"></i>
            </button>
        </th:block>
        <!-- 照片审核状态下拉框 -->
        <th:block th:fragment="selectForImageReviewStatus">
            <select id="select-image-review-status" name="imageStatus" lay-search>
                <option value="">全部</option>
                <option th:each="item:${T(com.zmn.oms.common.constant.OrderConsts).getImageReviewStatusList()}"
                        th:value="${item.key}"
                        th:text="${item.value}">
                </option>
            </select>
        </th:block>
    </div>
</body>
</html>